/*
 * @Author: boyyang
 * @Date: 2022-01-07 11:11:03
 * @LastEditTime: 2022-01-10 17:23:17
 * @LastEditors: boyyang
 * @Description: 
 * @FilePath: \boyyang\src\components\loading\index.tsx
 */

import { defineComponent, h, Fragment, ref } from 'vue'
import './loading.scss'
const React = { createElement: h, Fragment: Fragment }

export default defineComponent({
    name: 'Loading',
    props: {
        isShow: {
            required: false,
            type: Boolean,
            default: false
        }
    },
    setup(prop) {
    },
    render() {
        const { isShow } = this
        return (
            <>
                {isShow ? (
                    <div class="loading-wrapper">
                        <div class="loading-content">
                            <span class="loading-point"></span>
                        </div>
                    </div>
                ) : ''}
            </>
        )
    }
})